using GMT
FV = torus();
viz(FV)
Create a torus mesh with radius r.
r: the inner radius of the torus.
R: the outer radius of the torus.
center: A 3-element array or tuple of three numbers defining the origin of the body. Default is (0.0, 0.0, 0.0).
nx: the number of vertices in the xx direction.
ny: the number of vertices in the yy direction.
A GMTfv FacesVertices object.
Create a torus with radius = 1, and two iterations. Create a torus using the default values.
cube, cylinder, dodecahedron, icosahedron, octahedron, replicant, sphere, tetrahedron